#!/bin/sh

./createCA.sh caPassword truststorePassword
cp truststore.jks ../config/truststore.jks

./createCert.sh server caPassword serverPassword
cp client.jks ../config/server/keystore.jks

./createCert.sh client1 caPassword clientPassword
cp client.jks ../config/client1/keystore.jks

./createCert.sh client2 caPassword clientPassword
cp client.jks ../config/client2/keystore.jks

./createCert.sh client3 caPassword clientPassword
cp client.jks ../config/client3/keystore.jks

